import java.util.Scanner;

public class App {
    public static void main(String[] args) throws Exception {
        StreamServer streamServer = new StreamServer();
        Scanner input = new Scanner(System.in);
        streamServer.start();
        while(true){
            String line = input.nextLine();

            switch (line.toLowerCase()) {
                case "quit":
                    streamServer.exit();
                    return;
                
                //TODO:: 添加更多命令

                default:
                    break;
            }
        }
    }
}
